Package com.cisco.pt.ipc.sim.impl
Class CryptoMapSeqImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.CryptoMapSeqImpl
- All Implemented Interfaces:
IPCObject,CryptoMapSeq
Information provided by the PKI file:
\class CryptoMapSeq
\brief CryptoMapSeq holds and manipulates crypto maps in a crypto map set.
\example network().getDevice("Router0").getProcess("IpsecProcess").getCryptoMapSetAt(0).getCryptoMapSeqAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionCryptoMapSeqImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetMatchAdd(String addName) Information provided by the PKI file:voidsetSaLifeTime(int lifetime) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
CryptoMapSeqImpl
public CryptoMapSeqImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getSeqNum
public int getSeqNum()Information provided by the PKI file:
\brief Returns the sequence number of this crypto map. \return int, the sequence number of this crypto map.- Specified by:
getSeqNumin interfaceCryptoMapSeq- Returns:
- int Returns a int
-
isIncomplete
public boolean isIncomplete()Information provided by the PKI file:
\brief Returns true if this crypto map is incomplete, otherwise false. \return bool, true if this crypto map is incomplete, otherwise false.- Specified by:
isIncompletein interfaceCryptoMapSeq- Returns:
- boolean Returns a boolean
-
setMatchAdd
Information provided by the PKI file:
\brief Sets the match for this crypto map. \param string, the match to set for this crypto map.- Specified by:
setMatchAddin interfaceCryptoMapSeq- Parameters:
addName- Takes in a parameter of addName
-
getMatchAdd
Information provided by the PKI file:
\brief Returns the match for this crypto map. \return string, the match for this crypto map.- Specified by:
getMatchAddin interfaceCryptoMapSeq- Returns:
- String Returns a String
-
setSaLifeTime
public void setSaLifeTime(int lifetime) Information provided by the PKI file:
\brief Sets the IPSec SA lifetime. \param int, the IPSec SA lifetime to set.- Specified by:
setSaLifeTimein interfaceCryptoMapSeq- Parameters:
lifetime- Takes in a parameter of lifetime
-
getSaLifeTime
public int getSaLifeTime()Information provided by the PKI file:
\brief Returns the IPSec SA lifetime. \return int, the IPSec SA lifetime.- Specified by:
getSaLifeTimein interfaceCryptoMapSeq- Returns:
- int Returns a int
-